package com.example.demo.service;

import com.example.demo.entity.HistoryEntity;
import com.example.demo.mapper.HistoryMapper;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

@Service
public class HistoryService {

    @Resource
    private HistoryMapper historyMapper;

    public void insert(HistoryEntity entity){
        historyMapper.insert(entity);
    }


}
